package com.dl698.buss;

/**
 * 结果码常量类
 * 定义操作结果状态码
 * 
 * @author wind
 * @version 1.1.1
 */
public final class ResultCode {

    public static final int SUCCESS = 0;
    public static final int EMPTY_ERROR = 1;
    public static final int ILLEGAL_ERROR = 2;
    public static final int SYSTEM_ERROR = 3;
    public static final int TIMEOUT_ERROR = 4;
    public static final int NETWORK_ERROR = 5;
    public static final int PARSE_ERROR = 6;
    public static final int ENCODE_ERROR = 7;
    public static final int DECODE_ERROR = 8;

    // 私有构造函数，防止实例化
    private ResultCode() {
        throw new AssertionError("Cannot instantiate utility class");
    }
}